//
//  IGRankListApi.m
//  jingdongfang
//
//  Created by MTiMac01 on 2017/9/14.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGRankListApi.h"

@implementation IGRankListApi
- (YTKRequestMethod)requestMethod
{
    return YTKRequestMethodPOST;
}

- (NSString *)requestUrl
{
    return @"works/works!pushRankingMonth.action";
}

- (id)requestArgument
{
    return @{
             @"type" : _type,
             @"dimension" : _dimension
             };
}

- (BOOL)isNeedHub
{
    return YES;
}
@end

@implementation IGRankList
+(JSONKeyMapper *)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{@"aId":@"id"}];
}

+ (BOOL)propertyIsOptional:(NSString *)propertyName
{
    return YES;
}

@end

@implementation IGRankListModel

@end;

@implementation IGRankListResp

@end

